Mega Code Archive

Categories
1) Android
2) ASP.Net
3) ASP.Net Tutorial
4) C
5) C Tutorial
6) C#
7) C# Book
8) C# by API
9) C# Tutorial
10) C++
11) C++ Tutorial
12) Delphi
13) Flash ActionScript
14) Flex
15) Java
16) Java Book
17) Java by API
18) Java Tutorial
19) JavaScript DHTML
20) JavaScript Reference
21) JavaScript Tutorial
22) MSOfficeExcel 2007 Tutorial
23) MSOfficePowerPoint 2007 Tutorial
24) MSOfficeWord 2007 Tutorial
25) MSSQL
26) MSSQL Tutorial
27) MySQL
28) MySQL Tutorial
29) Oracle PLSQL
30) Oracle PLSQL Tutorial
31) Perl
32) Php
33) PostgreSQL
34) Python
35) Python Tutorial
36) Ruby
37) Silverlight
38) VB.Net
39) VB.Net by API
40) VB.Net Tutorial
41) Visual C++ .NET
42) VisualBasic Script
43) XML
44) XML Tutorial
 
JavaScript DHTML
1) Ajax Layer
2) Data Type
3) Date Time
4) Development
5) Document
6) Dojo Toolkit
7) Event
8) Event Onmethod
9) Ext JS
10) Form Control
11) GUI Components
12) HTML
13) Javascript Collections
14) Javascript Objects
15) Javascript Properties
16) Jquery
17) Language Basics
18) Mochkit
19) Mootools
20) Node Operation
21) Object Oriented
22) Page Components
23) Rico
24) Scriptaculous
25) Security
26) Smartclient
27) Style Layout
28) Table
29) Utilities
30) Window Browser
31) YUI Library
YUI Library
1) Add a button to Rich Text Editors Toolbar that displays an Overlay Control with a list of icon images
2) Add a button to Rich Text Editors Toolbar to display a Calendar Control
3) Add a red border to all of the LI elements with the class of selected that live in a UL
4) Add menuitem separator to menu
5) Add shortcut key to menuitem
6) Add submenu to menuitem
7) Adding A Context Menu To A TreeView
8) Adding new object members during parsing
9) Adding, Updating, and Deleting Rows
10) Advanced Uploader Example With Additional POST Variables and Server Data Return
11) Advanced Uploader Example With Cookie Submission as a POST variable
12) Advanced Uploader Example With Transparent UI and Automatic Queue Management
13) Animate the motion of an HTMLElement
14) Animated resizing
15) Animating Along a Curved Path
16) Animating Colors
17) Animating From a Given Value
18) Animating Multiple Attributes
19) Animating multiple elements with StyleSheet
20) Apply a simple animation effect to an HTMLElement
21) Apply an Easing to a YUI Animation instance
22) Asynchronous Event Testing
23) Asynchronous Testing
24) AutoComplete has queryMatchSubset enabled for maximum cache performance
25) AutoComplete implementation points to a JavaScript array that is available in-memory
26) AutoComplete implementation points to an online script that serves a data as delimited plain text
27) AutoComplete points to Yahoo! Search Web Services
28) Basic Drag and Drop
29) Basic Features of the ImageLoader Utility
30) Basic inline cell editing features, input validation and click-to-save interactions
31) Basic Vertical Slider
32) Bottom to top Vertical Slider
33) Build a TabView from JavaScript
34) Build a TabView from markup
35) Button ARIA Plugin
36) Calendar and Select Fields
37) Calendar and Text Fields
38) Calendar control wrapped in a Container (a Dialog control in this case) allows you to leverage Container features to position
39) Calendar employs a feature called the Render Stack to allow you to customize the way that certain date cells are rendered on t
40) Calendar Localization - Germany
41) Calendar Localization - Japan
42) Calendar Menu Button with Date on Button Face
43) Calendar range
44) Cell-Block Selection Mode with Support for Modifier Keys
45) Chaining Animations Using onComplete
46) Chart and DataTable Example
47) Chart with DataSource Polling
48) Chart with Legend Example
49) Charts in a TabView
50) Charts Quickstart Example
51) Circular Carousel Example
52) Clicking the button will use Doms addClass method to add the class baz to the element
53) Client-side Pagination
54) Client-side Sorting
55) Closable, draggable popup panel
56) Color Picker Built in a Dialog from Markup
57) Color Picker Built in a Dialog via JavaScript
58) Column Chart with Rotated Title and Labels
59) Combine a Split Button with a Slider to create an opacity slider button, similar to Adobe Photoshop
60) Combo box AutoComplete implementation allows the user to pick an item from a set list or enter a custom value directly into th
61) Conditional row coloring
62) Configuring the Paginator
63) Connection Manager assisted image crop
64) Connection Manager GET Transaction
65) Connection Manager POST Transaction
66) Connection Manager Transaction Timeout
67) Container ARIA Plugin
68) ContainerEffect Transitions
69) Context Menu, popup menu
70) Cookie Utility
71) Copy of the second branch of the tree at the top
72) Copy of the tree above taken from its own definition
73) Create a Code Editor using the Rich Text Editor (using HTML markup)
74) Create a DataTable instance based on markup that already exists on the page By progressively enhancing markup with higher orde
75) Create a list that can have the order changed with the Drag & Drop Utility
76) Create a Menu Button whose Menu instance displays a Calendar
77) Create a Menu instance using existing markup on the page
78) Create a Menu instance using nothing but JavaScript
79) Create and use a Menu Button from HTML markup
80) Create and use a Menu Button from Javascript
81) Create and use a Split Button from HTML markup
82) Create and use a Split Button from Javascript
83) Create Button from Javascript
84) Create Tree from markup
85) Creating a Modal Loading Panel
86) Creating and Positioning an Overlay
87) Custom Cell Formatting
88) Custom Formatting, with a Proxyless Remote DataSource
89) Custom resizing for the Rich Text Editor
90) Customize the TabView skin
91) DataTable scroll
92) Datatable with Autocomplete
93) DataTables basic feature set
94) Default presentation for the TreeView Control
95) Difference between modal dialog and modaless dialog
96) Different ways to create a Button that functions like an HTML anchor element
97) Different ways to create a Button that functions like an HTML checkbox from HTML markup
98) Different ways to create a Button that functions like an HTML checkbox from Javascript
99) Different ways to create a Button that functions like an HTML radio button
100) Disabled menuitem
101) DOM API
102) Double click to popup the cell editor
103) Drag and drop
104) Drag and drop Interaction Mode
105) Drag and drop using a proxy element
106) Draggable and not draggable titled panel
107) Dropdown Button based color picker
108) Dropdown button with slider
109) Dual-thumb Slider with range highlight
110) Dynamic addition and removal of three stylesheets that change the appearance of the News module
111) Dynamically Loading Node Data
112) Dynamically remove tabs from a TabView widget
113) Dynamically update table cell
114) Editor Advanced Buttons
115) Editor Data Post with Connection Manager
116) Editor in a Dialog Control
117) Editor inside a Tabview Control
118) Editor with Custom Image Browser
119) Enableconfigure Calendar Navigator and jump to a specific yearmonth without scrolling through months sequentially
120) Example
121) Experiment with the various configuration properties provided by AutoComplete and to explore their impact on the interaction.t
122) Extracting data from an HTML table
123) Fixed Width Menu Button
124) Folder-Style TreeView Design
125) Full Page Layout
126) FunctionDataSource to Search Multiple Fields of an Address Book at Runtime
127) GetLastChild(demoList)
128) GetNextSibling(one)
129) GetPreviousSibling(two)
130) Getting a Script File with YUI Get
131) Getting a Script Node with JSON Data from a Web Service
132) Getting Content from an External Source for Tab
133) Getting started with Paginator
134) Grouped Menu Items Using JavaScript
135) Grouped Menu Items Using Markup
136) Grouped Menu Items With Titles From JavaScript
137) Grouped Menu Items With Titles From Markup
138) Handling Calendar Events
139) Handling Menu Click Events
140) Highlighting Cells, Rows, or Columns
141) Horizontal Slider with Tick Marks
142) Horizontal Slider with two thumbs
143) dynamically add tabs to a TabView widget
144) make a DIV resizable, using a proxy element and animation
145) make an image croppable with some advanced features
146) Icon button
147) Icon on a Menu bar
148) ImageLoader with TabView
149) Implement a circular drag object
150) Implement a custom click validator to make a circular drag and drop implementation
151) Implementing Container Keyboard Shortcuts with KeyListener
152) Inline Color Picker Control from Script
153) Inline Editing of TreeView Node Labels
154) InsertAfter(li, one)
155) InsertBefore(li, one)
156) Integrating Browser History Manager with Server-side Pagination and Sorting
157) Integrating DataTable with the TabView widget
158) Internationalizing the ProfilerViewer Interface
159) Interval Selection Calendar
160) IsAncestor(demo, one)
161) JSON with Connection Manager
162) Keep draggable elements from being dragged out of a region
163) Keeping the dragged element on top of the others by changing its z-index property during the drag
164) Layout components as border layout
165) Layout form controls in a dialog
166) Layout inside a resizable Panel
167) Lazy load onoff and dropdown button
168) Listening For Menu Events
169) Loading Images Below the Fold
170) Log basic message
171) Looks at the standard module format used by many components in YUI to represent modular content on the page
172) Make a DIV resizable, using a proxy element
173) Make a simple DIV resizable
174) Make an element resizable by all 8 handles
175) Manually rendering Paginator UI Components
176) Mark form button to a fancy button
177) Menu-Style TreeView Design
178) Mix icon and text on a button
179) Multi-Select Calendar
180) Multi-tiered Menu (sun menu) From JavaScript
181) Multi-tiered Menu(sub menu) From Markup
182) Nested Headers
183) Nested Layout - Example
184) One editor, multiple edit areas
185) One Tooltip, Many Context Elements
186) OS-Style Programs Menu
187) Pageable DataTable
188) Partially revealing previous and next items
189) Populates a DataTable with data received via XHR from the Yahoo! Local webservice
190) Popup Calendar - Basic
191) ProfileViewer
192) Provides a new button in the Editor toolbar that opens a custom panel
193) Put DataTable into a TabView widget
194) Put your control into Dialog
195) RBG Slider Control
196) Real Time Crop Feedback
197) Rebuilding class instances from JSON data
198) Render a Color Picker into the Menu of a Split Button
199) Rendering controls into multiple containers
200) Replace the content of a dropdown Buttons Menu on the fly
201) Resize an image
202) Retrieving a Yahoo! Weather RSS Feed
203) Right-click on a row to see the ContextMenu integration in action
204) Searching Field A, Submitting Field B with itemSelectEvent
205) Server-side Pagination and Sorting for Dynamic Data
206) Set MenuItem configuration properties when adding items to a Menu instance
207) Setting Menu Configuration Properties At Runtime
208) Show and hide dialog
209) Showing, Hiding, and Reordering Columns
210) Simple Crop Interface
211) Simple Event Handling and Processing
212) Simple Profiling of a YUI Calendar Control Instance
213) Simple Testing Example
214) Simple Tooltip Example
215) Simple Uploader Example With Button UI
216) Single-Cell Selection Mode with Modifier Keys Disabled
217) Single-Row Selection with Modifier Keys Disabled
218) Skin a Button instance to create a glossy, glass-like effect with a glowing background reminiscent of Aqua buttons found in Ma
219) Skinning a Chart
220) Skinning a Panel with Custom CSS
221) Specifying Custom Labels and Element IDs for Color Picker
222) Split Pane resizing with Grids CSS
223) Stacked Bar Chart
224) Standard Row Selection with Support for Modifier Keys
225) Styling Lines, Borders and Fills
226) Subscribing to Connection Manager Global Events
227) Subscribing to Connection Managers Custom Events via the Callback Object
228) Tagging Example with alwaysShowContainer
229) Text button
230) Textual Data Over XHR
231) The CalendarGroup control is a specialized version of the Calendar control which allows you to display multiple months (pages)
232) The second AutoComplete instance does not enable queryMatchSubset so each typed letter results in a new request to the server.
233) This AutoComplete implementation points to the Yahoo! Search webservice using an XHRDataSource
234) This DataTable is populated with XML data from a webservice that is held in local memory in the JavaScript variable xmlDoc
235) This DataTable polls for data from its DataSource every 5 seconds
236) This example shows the use of the drag shim when dragging nodes over other troublesome nodes
237) Three-state button (toggle button) from HTML markup
238) Three-state button (toggle button) from Javascript
239) Toggle from a plain text field to the Rich Text Editor with a simple button click
240) Tree built from a static definition
241) TreeView with Tooltips
242) Turn a DIV tag to a log panel
243) Type-Checking Your Data
244) Use advanced test options, which allow you to specify additional information about how a test should be run
245) Use AutoComplete to find images by tag from the Flickr webservice
246) Use Browser History Manager to remember which months have been viewed and update it when the user presses the browsers backfor
247) Use Browser History Manager to remember which tabs have been visited
248) Use button to trigger an animation
249) Use Doms getStyle method to get the background color of the red element and pass it to the setStyle method
250) Use Doms getXY method to get the position of the red element and pass it to the setXY method
251) Use Doms hasClass method to test if the element has the class baz applied
252) Use Doms removeClass method to remove the class baz from the element
253) Use Doms setStyle method to set the opacity of the element
254) Use Doms setXY method to position the element to the click point
255) Use drag handles to control the specific places within an element from which a drag can be initiated
256) Use ghosting and manipulate the proxy element
257) Use SimpleDialog to solicit simple information from users okcancel, yesno
258) Use the ArrayAssert object, which contains assertions designed to be used specifically with JavaScript Arrays and array-like o
259) Use the Browser History Manager with several different modules
260) Use the Editor Control with Basic Buttons
261) Use the showhide buttons below to show and hide two simple panels
262) Use the SimpleEditor Control with Basic Buttons
263) Use the YUI Animation to animate the scrolling of an HTMLElement
264) Use YAHOO env ua to identify the users browser and to branch JavaScript logic based on what browser is being used
265) Use YUI Carousel Control to showcase a simple spotlight example using its itemSelected event
266) Use YUI log
267) Using a Layout with Grids CSS
268) Using Ajax for deferred loading of items
269) Using Custom Events
270) Using Custom Units for an Animation
271) Using filter
272) Using getElementsByClassName
273) Using ImageLoader with CSS Class Names
274) Using Paginator with Carousel
275) Using ProfilerProfilerViewer to Inspect Non-YUI Code
276) Using StyleSheet to create a page theme
277) Using the autoHeight config to make the Editor change its height based on the content
278) Using The Menu ARIA Plugin
279) Using the Overlay Manager to Manage Multiple Panels
280) Using the TabView ARIA Plugin
281) Using TreeView with Custom Icons
282) Walk you through the steps needed to get a default Calendar up and running
283) Website Left Nav Using Animation With Submenus From JavaScript (YUI Library)
284) Website Left Nav With Submenus From JavaScript (YUI Library)
285) Website Top Nav With Submenus From JavaScript
286) XML Data Over XHR With POST
287) YUI Loader Utility
288) YUI reset button from HTML tag
289) YUI reset button from Javascript
290) YUI submit button created from HTML markup
291) YUI submit button created from Javascript